table of contents
BTRFS-RECEIVE(8) | Btrfs Manual | BTRFS-RECEIVE(8) |
NAME¶
btrfs-receive - receive subvolumes from send stream
SYNOPSIS¶
btrfs receive [options] <path>
or
btrfs receive --dump [options]
DESCRIPTION¶
Receive a stream of changes and replicate one or more subvolumes that were previously generated by btrfs send. The received subvolumes are stored to path, unless --dump option is given.
If --dump option is specified, btrfs receive will only do the validation of the stream, and print the stream metadata, one operation per line.
btrfs receive will fail int the following cases:
A subvolume is made read-only after the receiving process finishes succesfully.
Options
-v
-f <FILE>
-C|--chroot
-e
Without this option the receiver side terminates only in case of an error on end of file.
-E|--max-errors <NERR>
Default value is 1. A value of 0 means no limit.
-m <ROOTMOUNT>
By default the mountpoint is searched in /proc/self/mounts. If /proc is not accessible, eg. in a chroot environment, use this option to tell us where this filesystem is mounted.
--dump
Does not require the path parameter. The filesystem chanded.
EXIT STATUS¶
btrfs receive returns a zero exit status if it succeeds. Non zero is returned in case of failure.
AVAILABILITY¶
btrfs is part of btrfs-progs. Please refer to the btrfs wiki http://btrfs.wiki.kernel.org for further details.
SEE ALSO¶
08/03/2017 | Btrfs v4.9.1 |